import fetch from 'utils/fetch';
//分页
export function page(query) {
    return fetch({
        url: '/api/admin/loanOrderApplyTown/loanTotalPageList',
        method: 'get',
        params: query
    });
}
// 导出
export function pageExport(query) {
    return fetch({
        url: '/api/admin/loanOrderApplyTown/loanTotalListExport',
        method: 'get',
        params: query
    });
}
//组织机构下拉
export function getListOrg(obj) {
    return fetch({
        url: '/api/admin/loanOrderApplyTown/getListOrg',
        method: 'post',
        data: obj
    });
}
//导出
export function exportListExel(query) {
    return fetch({
        url: '/api/admin/loanOrderApplyTown/loanTotalPageListExel',
        method: 'get',
        params: query
    });
}
// 资料退回统计
export function orderBackCount(query) {
    return fetch({
        url: '/api/admin/licenseController/orderBackCount',
        method: 'get',
        params: query
    });
}
// 审批业绩统计审批意见
export function getApprovalOpinion(query) {
    return fetch({
        url: '/api/admin/licenseController/getApprovalOpinion',
        method: 'get',
        params: query
    });
}
/**
 * 还款凭证记录
 * @param {String} orderId 
 */
export function getRepayImage(orderId) {
    return fetch({
        url: '/api/admin/loanOrderApplyTown/getRepayImage',
        method: 'get',
        params: {
            orderId
        }
    })
}